package com.dongdongshop.mapper;

import java.util.List;


import com.dongdongshop.pojo.itemCat.TbItemCat;
import com.dongdongshop.pojo.itemCat.TbItemCatExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@Mapper
public interface TbItemCatMapper {
    int countByExample(TbItemCatExample example);

    int deleteByExample(TbItemCatExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbItemCat record);

    int insertSelective(TbItemCat record);

    List<TbItemCat> selectByExample(TbItemCatExample example);

    TbItemCat selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbItemCat record, @Param("example") TbItemCatExample example);

    int updateByExample(@Param("record") TbItemCat record, @Param("example") TbItemCatExample example);

    int updateByPrimaryKeySelective(TbItemCat record);

    int updateByPrimaryKey(TbItemCat record);

    TbItemCat selectByParentId(@Param("parentId") Long parentId);

    List<TbItemCat> listItemCatByParentId(Long parentId);

    int deleteItemCatBatch(@Param("ids") Long[] ids);
}